<?php
/*------------------------------------------------------------------------
# company - company management 
# @author    pipapai.com
-------------------------------------------------------------------------*/

defined('_JEXEC') or die;
// disable core styles to avoid bs conflict 
OC_Util::$core_styles = array();

if(isDevMode()) {
   OCP\Util::addStyle('company', 'company');
   OCP\Util::addScript('company', 'settings');
} else {
   OCP\Util::addStyle('static', 'company');
   OCP\Util::addScript('static', 'apps/company.settings.min');
}


OCP\App::setActiveNavigationEntry('company_settings');

$lang = PFactory::getLanguage();
$lang->load("com_jobs", JPATH_SITE, "zh-CN");

$user = $_['user']; 

?>

<script type="text/javascript" src="<?php print_unescaped(OC_Helper::linkTo('company/js', 'company.php'));?>"></script>

<div class="hr_inner_navigate clearfix">
	<ul class="clearfix">
      <?php PCompanyHelper::showNavigationMenu($_['masteruser'], 'cloudspace');?>
   </ul>
</div>

<div class="hr_company_set span9 leftpad">
   <div class="quotaform">
      <div class="tips normal">
         <?php if($_['storage']['free'] < 0): ?>
            您的云简历库没有上限，可以保存任意多份简历！
         <?php else: ?>
            您已经使用了<strong><?=$_['storage']['percent']?>%</strong>云端储存空间，您最多还可以保存</strong><?=$_['storage']['free']?>份简历</strong>。需要更大的空间？<a href='mailto:support@<?=PUtil::serverDomain()?>'?>联系我们</a>
         <?php endif; ?>
      </div>
   </div>
</div>
